//公共返回类型
export interface ResponseData{
    code:number,
    msg:string,
}
//商家信息类型
export interface BusinessInfo{
    businessId:number,
    businessName:string,
    businessAddress:string,
    businessExplain:string,
    businessImg:string,
    orderTypeId:number,
    starPrice:number,
    deliveryPrice:number,
    remarks:string
}
export interface  BusinessInfoData extends ResponseData{
    data:BusinessInfo,
}
//包含全部信息的商家类型
export type list=BusinessInfo[];

export interface BusinessResponseData extends ResponseData{
    data:list,
}